package com.system.runtai.controller;


import com.system.common.result.Result;
import com.system.runtai.entity.Ipa;
import com.system.runtai.service.IpaService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 行业通讯录 前端控制器
 * </p>
 *
 * @author runtai
 * @since 2024-03-29
 */
@Api(tags = "行业通讯录")
@RestController
@RequestMapping("/runtai/ipa")
public class IpaController {

    @Autowired
    private IpaService ipaService;

//    @ApiOperation(value = "程序的通讯录收藏详情")
//    @GetMapping("/selectIpa/{id}")
//    public Result<Ipa> selectIpa(@PathVariable Integer id){
//        Ipa byId = ipaService.getById(id);
//        byId.setCollect(byId.getCollect()+1);
//        return Result.ok(byId);
//    }



}

